Addressing State Explosion in Discovery of Concurrency Errors in Component Java Code

نویسندگان

  • Pavel Parizek
  • Tomas Kalibera
  • T. Kalibera
چکیده

Current approaches to the development of reliable software systems include decomposition into components, attaching formal behavior specification to the components, and verification of component behavior via model checking. The main obstacle preventing model checking real-life software components is state explosion, which occurs especially for highly parallel components. In addition, since a typical model checker (e.g. Java PathFinder) checks only complete programs, it is necessary to create an artificial environment for each isolated component. We present a technique that addresses state explosion in discovery of concurrency errors in component Java code with Java PathFinder. The key idea is to reduce parallelism in a component environment to preserve parallel execution only for methods that interact with each other via concurrency-related constructs of the Java language those methods and the degree of interaction between them are determined by a metric. Benefits of the proposed technique are illustrated by results of experiments performed on several real-life software components. In particular, the technique makes discovery of concurrency errors with Java PathFinder possible in limited memory and reasonable time.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Formal Verification of Components in Java

Title: Formal Verification of Components in Java Author: Pavel Paŕızek email: [email protected] phone: +420 2 2191 4235 Department: Department of Software Engineering Faculty of Mathematics and Physics Charles University in Prague, Czech Republic Advisor: Prof. Frantǐsek Plášil email: [email protected] phone: +420 2 2191 4266 Mailing address (both Author and Advisor): Dept. of SW E...

متن کامل

Heuristic Reduction of Parallelism in Component Environment

Code model checking of software components suffers from the well-known problem of state explosion when applied to highly parallel components, despite the fact that a single component typically comprises a smaller state space than the whole system. We present a technique that addresses the problem of state explosion in code checking of primitive components with the Java PathFinder in case the ch...

متن کامل

Platform-Specific Restrictions on Concurrency in Model Checking of Java Programs

The main limitation of software model checking is that, due to state explosion, it does not scale to real-world multi-threaded programs. One of the reasons is that current software model checkers adhere to full semantics of programming languages, which are based on very permissive models of concurrency. Current runtime platforms for programs, however, restrict concurrency in various ways — it i...

متن کامل

Efficient Detection of Errors in Java Components Using Random Environment and Restarts

Software model checkers are being used mostly to discover specific types of errors in the code, since exhaustive verification of complex programs is not possible due to state explosion. Moreover, typical model checkers cannot be directly applied to isolated components such as libraries or individual classes. A common solution is to create an abstract environment for a component to be checked. W...

متن کامل

Automated Construction of Reasonable Environment for Java Components

In software component verification, one of the challenges is model checking of isolated components. The environment of an isolated component is unknown, and therefore a part of an input to a model checker is missing. This problem can be addressed via automated generation of an artificial environment — component and its environment form a complete program that can be verified using common model ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007